﻿#region Imports
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
#endregion

namespace Project.Model.Rights
{
    /// <summary>
    /// 功能：用户简档 实体类
    ///       UserProfile 对象映射表 'rights_UserProfile'
    /// 作者：tanghh
    /// 日期：2010-06-11
    /// </summary>
    [Serializable]
    public class UserProfile
    {
        #region Property Members
        /// <summary>
        /// UserId 用户Id：外键
        /// </summary>
        public virtual Guid UserId { get; set; }

        /// <summary>
        /// RealName 姓名
        /// </summary>
        public virtual string RealName { get; set; }

        /// <summary>
        /// Gender 性别：男1，女2，保密3
        /// </summary>
        public virtual byte Gender { get; set; }

        /// <summary>
        /// Birthday 生日
        /// </summary>
        public virtual DateTime? Birthday { get; set; }

        /// <summary>
        /// Province 省份
        /// </summary>
        public virtual string Province { get; set; }

        /// <summary>
        /// City 市
        /// </summary>
        public virtual string City { get; set; }

        /// <summary>
        /// IDCardNo 身份证号码
        /// </summary>
        public virtual string IDCardNo { get; set; }

        /// <summary>
        /// Phone 固定电话号码
        /// </summary>
        public virtual string Phone { get; set; }

        /// <summary>
        /// Mobile 移动电话号码
        /// </summary>
        public virtual string Mobile { get; set; }

        /// <summary>
        /// NickName 昵称
        /// </summary>
        public virtual string NickName { get; set; }

        /// <summary>
        /// Email 电子邮件
        /// </summary>
        public virtual string Email { get; set; }

        /// <summary>
        /// Website 个人主页
        /// </summary>
        public virtual string Website { get; set; }

        /// <summary>
        /// MSN MSN
        /// </summary>
        public virtual string MSN { get; set; }

        /// <summary>
        /// QQ QQ
        /// </summary>
        public virtual string QQ { get; set; }

        /// <summary>
        /// PostalAddress 邮政地址/通信地址
        /// </summary>
        public virtual string PostalAddress { get; set; }

        /// <summary>
        /// PostalCode 邮政编码
        /// </summary>
        public virtual string PostalCode { get; set; }

        /// <summary>
        /// CreateTime 创建时间
        /// </summary>
        public virtual DateTime CreateTime { get; set; }

        /// <summary>
        /// UpdateTime 更新时间
        /// </summary>
        public virtual DateTime UpdateTime { get; set; }

        #endregion

        /// <summary>
        /// 用户
        /// </summary>
        public virtual User User { get; set; }  
    }

}
